#import <UIKit/UIKit.h>

@interface CoinCount : NSObject {
	//xCount are used to count coins
	int pCount;
	int nCount;
	int dCount;
	int qCount;
	int lCount;
	int tCount;
//fs
	float totalValue;//used to total up the coins
	float randomNumber;//random number used for questions
	float lastValue;//keep track of the last question so the same question doesn't appear 2 time in a row
}


@property int pCount;
@property int nCount;
@property int dCount;
@property int qCount;
@property int lCount;
@property int tCount;
@property float totalValue;
@property float randomNumber;
@property float lastValue;

//used to produce questions
-(float)randomValue;
-(float)easyValue;
-(float)easierValue;
-(float)hardValue;

//used to check answer
-(float)total;
//is used to get the question again
-(float)getquestion;

//these functions are to add coins and take away coins
// each functions return the amount of coins being counted
-(int)addPenny;
-(int)decPenny;
-(int)addNickel;
-(int)decNickel;
-(int)addDime;
-(int)decDime;
-(int)addQuater;
-(int)decQuater;
-(int)addLoonie;
-(int)decLoonie;
-(int)addToonie;
-(int)decToonie;





@end
